package com.xmall.product.service.remote;

import com.xmall.define.base.Result;
import com.xmall.define.dto.order.OrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 微服务 - order：order
 */
@FeignClient(value = "xmall-order")
public interface OrderServiceFeign {

    /**
     * 订单详情
     */
    @GetMapping("/service/order/order/info/{id}")
    Result<OrderDto> info(@PathVariable("id") Long id);

}
